package com.cro.prison.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;


@Data
@ToString
@TableName(value = "error_message_detail")
public class ErrorMessage {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Boolean isValid;
    private Integer type;
    private Integer identity;
    private String description;
    private Long deviceId ;
    private Date createTime;
    //当前异常处理者的Id
    private Long userId;
    //当前异常是否被处理：处理为1 未处理为0
    private Integer status;
    //当前异常发生场所
    private Long departId;
    //当前异常录像路径
    private String videoSrc;

}
